home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
asprog.EXE
/
FINAL.ASM
< prev
next >
Wrap
Assembly Source File
|
1995-11-06
|
2KB
|
100 lines
;(c) Copyright 1995 ErsinSoft !
code segment
assume cs:code,ds:code
org 100h
begin:
JMP SHORT J00105
NOP
ADD [BX+SI],AL
J00105: MOV WORD PTR CS:[0103h],0BB8h
MOV BP ,0032h
J0010F: MOV AX,BX
OUT 42h,AL
MOV AL,AH
OUT 42h,AL
IN AL,61h
OR AL,03h
OUT 61h,AL
MOV CX ,05DCh
J00120: LOOP J00120
XCHG DI,BX
SUB DI,+28h
IN AL,61h
AND AL,252
OUT 61h,AL
SUB WORD PTR CS:[0103h],+02h
MOV CX,CS:[0103h]
J00138: LOOP J00138
DEC BP
JNZ J0010F
MOV WORD PTR CS:[0103h],07D0h
MOV BP ,0032h
J00147: MOV AX,BX
OUT 42h,AL
MOV AL,AH
OUT 42h,AL
IN AL,61h
OR AL,03h
OUT 61h,AL
MOV CX ,05DCh
J00158: LOOP J00158
XCHG DI,BX
SUB DI,+28h
IN AL,61h
AND AL,252
OUT 61h,AL
SUB WORD PTR CS:[0103h],+02h
MOV CX,CS:[0103h]
J00170: LOOP J00170
DEC BP
JNZ J00147
MOV WORD PTR CS:[0103h],03E8h
MOV BP ,0032h
J0017F: MOV AX,BX
OUT 42h,AL
MOV AL,AH
OUT 42h,AL
IN AL,61h
OR AL,03h
OUT 61h,AL
MOV CX ,05DCh
J00190: LOOP J00190
XCHG DI,BX
SUB DI,+28h
IN AL,61h
AND AL,252
OUT 61h,AL
SUB WORD PTR CS:[0103h],+02h
MOV CX,CS:[0103h]
J001A8: LOOP J001A8
DEC BP
JNZ J0017F
MOV WORD PTR CS:[0103h],0FA0h
MOV BP ,0032h
J001B7: MOV AX,BX
OUT 42h,AL
MOV AL,AH
OUT 42h,AL
IN AL,61h
OR AL,03h
OUT 61h,AL
MOV CX ,05DCh
J001C8: LOOP J001C8
XCHG DI,BX
SUB DI,+28h
IN AL,61h
AND AL,252
OUT 61h,AL
SUB WORD PTR CS:[0103h],+02h
MOV CX,CS:[0103h]
J001E0: LOOP J001E0
DEC BP
JNZ J001B7
MOV AX ,4C00h
INT 21h
code ends
end begin